<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>财务管理</title>
<!--                       CSS                       -->
<!-- Reset Stylesheet -->
<link rel="stylesheet" href="<%=path%>/resources/css/reset.css"
	type="text/css" media="screen" />
<!-- Main Stylesheet -->
<link rel="stylesheet" href="<%=path%>/resources/css/style.css"
	type="text/css" media="screen" />
<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
<link rel="stylesheet" href="<%=path%>/resources/css/invalid.css"
	type="text/css" media="screen" />
<!--                       Javascripts                       -->
<!-- jQuery -->
<script type="text/javascript"
	src="<%=path%>/resources/scripts/jquery-1.3.2.min.js"></script>
<!-- jQuery Configuration -->
<script type="text/javascript"
	src="<%=path%>/resources/scripts/simpla.jquery.configuration.js"></script>
<!-- Facebox jQuery Plugin -->
<script type="text/javascript"
	src="<%=path%>/resources/scripts/facebox.js"></script>
<!-- jQuery WYSIWYG Plugin -->
<script type="text/javascript"
	src="<%=path%>/resources/scripts/jquery.wysiwyg.js"></script>
<!-- jQuery Datepicker Plugin -->
</head>
<body>
	<div id="body-wrapper">
		<!-- Wrapper for the radial gradient background -->
		<div id="sidebar">
			<div id="sidebar-wrapper">
				<!-- Sidebar with logo and menu -->
				<h1 id="sidebar-title">
				</h1>
				<!-- Logo (221px wide) -->
				<a href="#">
				</a>
				<!-- Sidebar Profile links -->
				<div id="profile-links">
				
				</div>
				<ul id="main-nav">
					<li><a href="#" class="nav-top-item current"  id="i1"> <!-- Add the class "current" to current menu item -->
							客户资料 </a>
						<ul>
							<li><a href="#">工作进度</a></li>
							<li><a class="current" href="javascript:changeItem('<%=path%>/jsp/report/pageAdd.action','i12')">资料签收</a></li>
							<!-- Add class "current" to sub menu items also -->
							<li><a href="#">基础资料</a></li>
							<li><a href="javascript:changeItem('<%=path%>/jsp/report/queryReport.action','i14')">资料维护</a></li>
						</ul>
					</li>
					<li><a href="#" class="nav-top-item"  id="i2">财务信息</a>
						<ul>
							<li><a href="javascript:changeItem('pageAdd.action','i21')">发票信息</a></li>
							<li><a href="javascript:changeItem('pageAdd.action','i22')">协办金额</a></li>
							<li><a href="javascript:changeItem('pageAdd.action','i23')">工作提成</a></li>
							<li><a href="javascript:changeItem('pageAdd.action','i24')">分工表格</a></li>
						</ul>
					</li>
					
					<li><a href="#" class="nav-top-item"  id="i3">附件管理</a>
						<ul>
							<li><a href="javascript:changeItem('pageAdd.action','i31')">上传附件</a></li>
							<li><a href="javascript:changeItem('pageAdd.action','i32')">查询附件</a></li>
						</ul>
					</li>
					<li><a href="#" class="nav-top-item" id="i4">用户管理</a>
						<ul>
							<li><a href="javascript:changeItem('pageAdd.action','i41')">员工管理</a></li>
							<li><a href="javascript:changeItem('pageAdd.action','i42')">薪资管理</a></li>
							<li><a href="javascript:changeItem('pageAdd.action','i43')">社保管理</a></li>
							<li><a href="javascript:changeItem('pageAdd.action','i44')">级别管理</a></li>
						</ul>
					</li>
					<s:if test="#session.login_user.type==0">
					<li><a href="#" class="nav-top-item" id="i5">系统管理</a>
						<ul>
							<!--
							<li><a href="javascript:changeItem('pageAdd.action','i52')">权限控制</a></li>
							<li><a href="javascript:changeItem('pagechangePWD.action','i53')">修改密码</a></li>
							<li><a href="javascript:changeItem('pagechangeUserInfo.action','i54')">资料修改</a></li>-->
							<li><a href="javascript:changeItem('viewip.action','i55')">IP限制</a></li>
							<li><a href="javascript:changeItem('userPage.action','i56')">人员管理</a></li>
						</ul>
					</li>
					</s:if>
				</ul>
				
				<!-- End #messages -->
			</div>
		</div>
		<!-- End #footer -->
	</div>
	<!-- End #main-content -->
</body>
<script type="text/javascript">
	function changeItem(action,item){
		var mitem= item.charAt(1);
		if(mitem!=4 && mitem!=3 && mitem!=2){
			parent.mainFrame.location.href=action;
		}
		
		
	}

</script>
</html>
